package movies.domain;

/**
 *
 * @author Hanna_Aliakseichykava
 */
public class Person {

    private int id;
    private String name;
    private String surname;
    private int day;
    private int month;
    private int yearPerson;

    public Person() {
    }

    public Person(String name, String surname, int day, int month, int yearPerson) {
        
        this.name = name;
        this.surname = surname;
        this.day = day;
        this.month = month;
        this.yearPerson = yearPerson;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    
    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public int getYearPerson() {
        return yearPerson;
    }

    public void setYearPerson(int yearPerson) {
        this.yearPerson = yearPerson;
    }

    

}
